package cn.qzzg.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 转运箱表
 *
 * @TableName transfer_box
 */
@TableName(value = "transfer_box")
@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class TransferBox implements Serializable {
    /**
     * 转运箱ID
     */
    @TableId(value = "transfer_box_id")
    private String transferBoxId;

    /**
     * 样本来源
     */
    @TableField(value = "sample_source_id")
    private Integer sampleSourceId;

    /**
     * 采集点类型
     */
    @TableField(value = "dictionary_info_id")
    private Integer dictionaryInfoId;

    /**
     * 开箱人员
     */
    @TableField(value = "unpacking_personnel")
    private String unpackingPersonnel;

    /**
     * 封箱人员
     */
    @TableField(value = "sealing_personnel")
    private String sealingPersonnel;

    /**
     * 送检人员
     */
    @TableField(value = "inspection_personnel")
    private String inspectionPersonnel;

    /**
     * 接收人员
     */
    @TableField(value = "receiving_personnel")
    private String receivingPersonnel;

    /**
     * 送检人员电话
     */
    @TableField(value = "inspection_personnel_mobile")
    private String inspectionPersonnelMobile;

    /**
     * 开箱时间
     */
    @TableField(value = "unpacking_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date unpackingTime;

    /**
     * 封箱时间
     */
    @TableField(value = "sealing_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sealingTime;

    /**
     * 送检时间
     */
    @TableField(value = "inspection_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date inspectionTime;

    /**
     * 接收时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 状态
     */
    @TableField(value = "status", fill = FieldFill.INSERT)
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}